ahrefs\AhrefsSeo_Vendor\phpseclib\Net\SSH2 D

Total Complexity 739
Dependencies 13
Dependents 1
Total lines 4,668
Lines of code 2,630
Logical lines of code 1,900
Comment lines 1,813
Methods 96
Properties 103

Methods 96

Method Rating Maintainability Complexity Lines of code
_key_exchange()
D
1
113 482
_get_channel_packet()
D
19
62 210
_get_binary_packet()
D
23
50 158
_filter()
D
24
48 150
_login_helper()
D
25
42 154
getServerPublicHostKey()
D
28
30 130
_connect()
C
31 29 104
_login()
C
38 26 68
_keyboard_interactive_process()
C
34 24 89
setPreferredAlgorithms()
C
38 25 64
_encryption_algorithm_to_key_size()
B
47 24 33
_privatekey_login()
B
33 19 96
_encryption_algorithm_to_crypt_instance()
B
46 21 34
exec()
B
38 18 68
_send_binary_packet()
A
39 15 55
_append_log()
A
41 14 58
read()
A
47 12 33
getSupportedEncryptionAlgorithms()
A
43 9 49
_initShell()
A
47 8 37
_generate_identifier()
S
54 7 21
_close_channel()
S
55 6 19
login()
S
57 6 15
__construct()
S
40 3 58
startSubsystem()
S
52 5 25
ping()
S
54 5 21
getLog()
S
59 5 14
_format_log()
S
53 4 20
_send_channel_packet()
S
56 4 17
_define_array()
S
62 4 12
_disconnect()
S
61 4 11
write()
S
62 4 11
_get_open_channel()
S
64 4 9
_bad_algorithm_candidate()
S
66 4 9
_ssh_agent_login()
S
62 3 12
_array_intersect_first()
S
67 3 8
_reconnect()
S
63 3 10
disconnect()
S
71 3 6
isConnected()
S
77 3 3
_updateLogHistory()
S
70 3 5
_get_interactive_channel()
S
66 3 10
getSupportedKEXAlgorithms()
S
62 2 13
_on_channel_open()
S
75 2 5
disablePTY()
S
70 2 7
_keyboard_interactive_login()
S
66 2 7
getLastError()
S
70 2 6
getSupportedCompressionAlgorithms()
S
67 2 8
getExitStatus()
S
72 2 6
_handleDisconnect()
S
62 2 10
getLanguagesServer2Client()
S
78 1 4
getCompressionAlgorithmsServer2Client()
S
78 1 4
getCompressionAlgorithmsClient2Server()
S
78 1 4
getLanguagesClient2Server()
S
78 1 4
enableSmartMFA()
S
81 1 3
getAuthMethodsToContinue()
S
83 1 3
disableSmartMFA()
S
81 1 3
setWindowRows()
S
82 1 3
getServerAlgorithms()
S
72 1 4
setWindowSize()
S
77 1 4
getBannerMessage()
S
83 1 3
setWindowColumns()
S
82 1 3
getWindowRows()
S
83 1 3
getSupportedHostKeyAlgorithms()
S
70 1 8
getWindowColumns()
S
83 1 3
getSupportedMACAlgorithms()
S
68 1 9
getMACAlgorithmsClient2Server()
S
78 1 4
getAlgorithmsNegotiated()
S
69 1 5
getMACAlgorithmsServer2Client()
S
78 1 4
isPTYEnabled()
S
83 1 3
getEncryptionAlgorithmsServer2Client()
S
78 1 4
__destruct()
S
83 1 3
sendIdentificationStringFirst()
S
81 1 3
sendIdentificationStringLast()
S
81 1 3
sendKEXINITFirst()
S
81 1 3
sendKEXINITLast()
S
81 1 3
getTimeout()
S
83 1 3
setTimeout()
S
81 1 3
setKeepAlive()
S
82 1 3
getStdError()
S
83 1 3
stopSubsystem()
S
73 1 5
reset()
S
82 1 3
isTimeout()
S
83 1 3
isAuthenticated()
S
80 1 3
getEncryptionAlgorithmsClient2Server()
S
78 1 4
_reset_connection()
S
65 1 9
enableQuietMode()
S
81 1 3
disableQuietMode()
S
81 1 3
isQuietModeEnabled()
S
83 1 3
enablePTY()
S
81 1 3
setCryptoEngine()
S
82 1 3
_string_shift()
S
72 1 5
_format_log_helper()
S
76 1 3
getErrors()
S
83 1 3
getServerIdentification()
S
78 1 4
getKexAlgorithms()
S
78 1 4
getServerHostKeyAlgorithms()
S
78 1 4
bytesUntilKeyReexchange()
S
82 1 3